import { Link, Warning } from '@brillout/docpress'
import { ConfigWhereServer } from '../../components'

**Environment**: server.

<Warning>This is a beta feature.</Warning>

If you don't use Telefunc's transformer on your server-side (see <Link href="/transformer" />) then you need to provide the list of your `.telefunc.js` files to Telefunc.

You do so by using:
 - `config.telefuncFiles`
 - <Link href="/root">`config.root`</Link>

```ts
// Environment: server

import { config } from 'telefunc'

// List of telefunc files
config.telefuncFiles = [require.resolve('./hello.telefunc.mjs')]

// The root directory of the project
config.root = __dirname
```

See also <Link href="/root">`config.root`</Link>.

<ConfigWhereServer />


## See also

- <Link href="/root" />
- <Link href="/root#monorepo" />
- <Link href="/transformer" />
